@tool
extends Sprite2D
class_name BlackHole
func _enter_tree() -> void:
	texture=load("uid://bm0kvdqlkn8f3")
	material=ShaderMaterial.new()
	material.shader=load("uid://dwsve2o3j43cr")
func _physics_process(delta: float) -> void:
	if Engine.is_editor_hint():
		RenderingServer.global_shader_parameter_set("zoom",get_viewport().get_screen_transform().get_scale())
